package com.example.forum.commons.jwt;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;


@Setter
@Getter
@ApiModel(value = "LoginUserModel")
public class LoginUserModel {
    private String UserId;
    private String UserName;
    private String RealName;
    private String Permissions;
    private String NormalPermissions;
    private String Role;

    public LoginUserModel() {

    }

    public LoginUserModel(String userId, String role) {
        UserId = userId;
        Role = role;
    }

    public LoginUserModel(String userId, String userName, String realName, String permissions, String normalPermissions, String role) {
        UserId = userId;
        UserName = userName;
        RealName = realName;
        Permissions = permissions;
        NormalPermissions = normalPermissions;
        Role = role;
    }
}